<template>
  <div class="Layout">
    <svg width="100%" height="300px" viewbox="0 0 1000 200">
      <rect width="100" height="100" fill="skyblue">
        <animate attributeName="x" attributeType="XML" values="0;500;0" keyTimes="0;0.75;1" dur="3s" repeatCount="indefinite"></animate>
      </rect>
    </svg>
    <div class="Code">&lt;rect width="100" height="100" fill="skyblue">
  &lt;animate attributeName="x" attributeType="XML" values="0;500;0" keyTimes="0;0.75;1" dur="3s" repeatCount="indefinite"></animate>
&lt;/rect></div>
  </div>
</template>